﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Master/MasterPage_New.master"
    CodeBehind="CompanyInfo_PS.aspx.cs" Inherits="HZ.Supervise.Web.Secondphase.NewReport.CompanyInfo_PS"
    Title="按配送企业统计" %>
    

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <div id="tabnav">
        <ul>
            <li><a href="GoodsInfoList.aspx">药品统计</a></li>
            <li><a href="CompanyInfo_SC.aspx">生产企业统计</a></li>
            <li class="active"><a href="CompanyInfo_PS.aspx">配送企业统计</a></li>
            <li><a href="AreaInfoList.aspx">地区统计</a></li>
            <li><a href="GoodsOrderDetail.aspx">明细统计</a></li>
        </ul>
    </div>
        <%--条件查询--%>
    <div id="tabcontent">
        <table class="querylist">
            <tr>
                <td align="right">
                    中心提交配送时间从：
                </td>
                <td align="right" style="width: 105px;">
                    <asp:TextBox ID="txtTimeFrom" runat="server" Width="105px" onFocus="WdatePicker({dateFmt:'yyyy-MM '})"></asp:TextBox>
                </td>
                <td align="right" style="width: 105px;">
                    到：
                </td>
                <td align="left">
                    <asp:TextBox ID="txtTimeTo" runat="server" Width="106px" onFocus="WdatePicker({dateFmt:'yyyy-MM '})"></asp:TextBox>
                </td>
                
                <td align="right">
                    医院入库时间从：
                </td>
                <td align="right" style="width: 105px;">
                    <asp:TextBox ID="txtTimeFromH" runat="server" Width="105px" onFocus="WdatePicker({dateFmt:'yyyy-MM '})"></asp:TextBox>
                </td>
                <td align="right" style="width: 105px;">
                    到：
                </td>
                <td align="left">
                    <asp:TextBox ID="txtTimeToH" runat="server" Width="106px" onFocus="WdatePicker({dateFmt:'yyyy-MM '})"></asp:TextBox>
                </td>
                <td align="right">
                    <asp:Button ID="Button1" runat="server" Text="查  询" CssClass="btn" OnClick="Button1_Click" />
                </td>
            </tr>
        </table>
    </div>
    <asp:GridView ID="gvwPSLInfo" runat="server" AutoGenerateColumns="False" CssClass="mainlist"
        AllowSorting="True" EmptyDataText="暂无符合条件的数据！">
        <Columns>
            <asp:TemplateField HeaderText="序号">
                <ItemTemplate>
                    <%#Container.DataItemIndex + 1 + AspNetPager1.PageSize * (AspNetPager1.CurrentPageIndex - 1)%></ItemTemplate>
                <HeaderStyle Width="30px" />
            </asp:TemplateField>
            
            <asp:BoundField DataField="配送企业" HeaderText="配送企业" />
            <asp:BoundField DataField="采购金额" HeaderText="采购金额" DataFormatString="{0:F3}" />
            <asp:BoundField DataField="配送金额" HeaderText="配送金额" DataFormatString="{0:F3}" />
            <asp:BoundField DataField="入库金额" HeaderText="入库金额"  DataFormatString="{0:F3}" />
            
            <asp:BoundField DataField="DataRate_PS" HeaderText="配送率"/>
            <asp:BoundField DataField="addDataColumnRate" HeaderText="入库率" />
        </Columns>
    </asp:GridView>
    <div class="page">
        <span style="width: 30%; float: left; text-align: left">
            <hz:HzButton ID="btnExcel1" runat="server" CssClass="btn" Text="导出数据" OnClick="btnExcel1_Click" />
        </span>
        
        <span style="width: 70%; text-align: right; float: right">
            <webdiyer:AspNetPager ID="AspNetPager1" runat="server" AlwaysShow="true" OnPageChanged="AspNetPager1_PageChanged">
            </webdiyer:AspNetPager>
        </span>
    </div>
</asp:Content>
